package com.tsingtree.roses.core.dbid;

import javax.sql.DataSource;
import java.util.Properties;

/**
 * 数据库id选择器
 *
 * @author jagger
 */
public class DatabaseIdProvider implements org.apache.ibatis.mapping.DatabaseIdProvider {

    @Override
    public void setProperties(Properties p) {
    }

    @Override
    public String getDatabaseId(DataSource dataSource) {
        return "mysql";
    }
}
